﻿@model IEnumerable<CloudFranceTriple.Models.Bf3PlayerPropertySet>

@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Index</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.PlayerOnGameSet.PlayerNickName)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.UserId)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.TimePlayedToBecomeColonel)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.DisplayOrderHallOfFamousPlayer)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.BattlelogUrlProfile)
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.PlayerOnGameSet.PlayerNickName)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.UserId)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.TimePlayedToBecomeColonel)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.DisplayOrderHallOfFamousPlayer)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.BattlelogUrlProfile)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }) |
            @Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ }) |
            @Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ })
        </td>
    </tr>
}

</table>
